package com.fit.lov.homework;

import java.util.Map;
import org.apache.tapestry5.OptionModel;

import com.fit.entities.course.Course;
import com.fit.entities.homework.Homework;



public class HomeworkOptionModel implements OptionModel {
	private Homework homework ;
	
	public HomeworkOptionModel(Homework homework) {
		this.homework = homework;
	}

	public Map<String, String> getAttributes() {
		return null;
	}

	public String getLabel() {		
		return this.homework.getTask();
	}

	public Object getValue() {
		return this.homework;
	}

	public boolean isDisabled() {
		return false;
	}
}
